package com.lzg.prototype.simple;

import java.util.List;

/**
 * @Author lizhigang Date: 2019/4/22 13:53
 * @description:
 */
public class ComputerA implements Prototype {
	private Integer no;
	private String name;
	private String keyWord;
	private List yanse;
	public Integer getNo() {
		return no;
	}

	public void setNo(Integer no) {
		this.no = no;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getKeyWord() {
		return keyWord;
	}

	public void setKeyWord(String keyWord) {
		this.keyWord = keyWord;
	}

	public List getYanse() {
		return yanse;
	}

	public void setYanse(List yanse) {
		this.yanse = yanse;
	}

	@Override
	public Prototype clone() {
		ComputerA prototype = new ComputerA();
		prototype.setNo(this.no);
		prototype.setName(this.name);
		prototype.setKeyWord(this.keyWord);
		prototype.setYanse(this.yanse);
		return prototype;
	}
}
